[INFO] cloning repository https://github.com/cpecq/todo-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpecq/todo-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpecq%2Ftodo-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpecq%2Ftodo-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6e64d20d926f04d4b82bc294f3fa79c741ef3b2b
[INFO] testing cpecq/todo-rs against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpecq%2Ftodo-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/cpecq/todo-rs on toolchain b70888601af92f6cdc0364abab3446e418b91d36
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/cpecq/todo-rs
[INFO] finished tweaking git repo https://github.com/cpecq/todo-rs
[INFO] tweaked toml for git repo https://github.com/cpecq/todo-rs written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/cpecq/todo-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 83f3cbc261fa79faa083699cf91a16609a1ea939d55ed3af74a3c9e668584317
[INFO] running `Command { std: "docker" "start" "-a" "83f3cbc261fa79faa083699cf91a16609a1ea939d55ed3af74a3c9e668584317", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "83f3cbc261fa79faa083699cf91a16609a1ea939d55ed3af74a3c9e668584317", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83f3cbc261fa79faa083699cf91a16609a1ea939d55ed3af74a3c9e668584317", kill_on_drop: false }`
[INFO] [stdout] 83f3cbc261fa79faa083699cf91a16609a1ea939d55ed3af74a3c9e668584317
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b3c70486e8d0b518ede4397616834bf795c3cbfeb7a159ac410bf221bc3a60c3
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b3c70486e8d0b518ede4397616834bf795c3cbfeb7a159ac410bf221bc3a60c3", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.73
[INFO] [stderr]    Compiling futures-channel v0.3.15
[INFO] [stderr]    Compiling pin-project-lite v0.2.6
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling futures-macro v0.3.15
[INFO] [stderr]    Compiling futures-util v0.3.15
[INFO] [stderr]    Compiling tokio v1.7.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling lock_api v0.4.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling textwrap v0.12.1
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling socket2 v0.4.0
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling mio v0.7.13
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.10.0
[INFO] [stderr]    Compiling md-5 v0.9.1
[INFO] [stderr]    Compiling sha2 v0.9.5
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling postgres-protocol v0.6.1
[INFO] [stderr]    Compiling postgres-types v0.2.1
[INFO] [stderr]    Compiling tokio-util v0.6.7
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr]    Compiling clap v3.0.0-beta.2
[INFO] [stderr]    Compiling futures-executor v0.3.15
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling futures v0.3.15
[INFO] [stderr]    Compiling tokio-postgres v0.7.2
[INFO] [stderr]    Compiling postgres v0.19.1
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling todo-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufReader`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::BufReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |         _ => eprintln!("footsies")
[INFO] [stdout]     |         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_task`
[INFO] [stdout]    --> src/main.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |             let new_task = Task::new(&client, name, description, duration).unwrap();
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_task`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/main.rs:162:24
[INFO] [stdout]     |
[INFO] [stdout] 162 |         Args::Status { name, all } => {
[INFO] [stdout]     |                        ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `all`
[INFO] [stdout]    --> src/main.rs:162:30
[INFO] [stdout]     |
[INFO] [stdout] 162 |         Args::Status { name, all } => {
[INFO] [stdout]     |                              ^^^ help: try ignoring the field: `all: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/main.rs:165:24
[INFO] [stdout]     |
[INFO] [stdout] 165 |         Args::Remove { name, all } => {
[INFO] [stdout]     |                        ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `all`
[INFO] [stdout]    --> src/main.rs:165:30
[INFO] [stdout]     |
[INFO] [stdout] 165 |         Args::Remove { name, all } => {
[INFO] [stdout]     |                              ^^^ help: try ignoring the field: `all: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*client` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/main.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn new(client: &Client, name: String, description: String, duration: i32) -> Result<Task, Error> {
[INFO] [stdout]    |                    ------- help: consider changing this to be a mutable reference: `&mut Client`
[INFO] [stdout] ...
[INFO] [stdout] 84 |         client.execute(
[INFO] [stdout]    |         ^^^^^^ `client` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |     let mut tasks: Vec<Task> = Vec::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `todo-rs` due to 2 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b3c70486e8d0b518ede4397616834bf795c3cbfeb7a159ac410bf221bc3a60c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3c70486e8d0b518ede4397616834bf795c3cbfeb7a159ac410bf221bc3a60c3", kill_on_drop: false }`
[INFO] [stdout] b3c70486e8d0b518ede4397616834bf795c3cbfeb7a159ac410bf221bc3a60c3
